package com.woniuxy.dao;

import com.woniuxy.entity.Working;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WorkingDao {
    //添加班次

    void insertWorking(Working working);

    //修改班次
    void updateWorking(Working working);

    //查询班次
    List<Working> selectAllWorking(@Param("working") Working working, @Param("pageIndex") int pageIndex, @Param("pageSize") int pageSize);

//条数
    int selectWorkingCount(@Param("working") Working working);
}
